<?php
/*
 * @Author: your name
 * @Date: 2020-12-24 09:32:09
 * @LastEditTime: 2020-12-24 16:23:09
 * @LastEditors: Please set LastEditors
 * @Description: 授权错误提示信息
 * @FilePath: /special/application/common/error_message/AuthError.php
 */
namespace app\common\error_message;

class AuthError
{
    //授权不存在
    const AUTHORIZED_NOT_EXIST = [10000, '授权不存在'];
    //资产组授权过期
    const ASSETS_GROUP_AUTHORIZED_EXPIRED = [10001, '您所在资产组对该模块授权已过期'];
    //资产组未授权模块
    const ASSETS_GROUP_UNAUTHORIZED_MODULE = [10002, '您所在资产组尚未对该模块授权,请先授权。（资产组/编辑）'];
    //该资产组模块授权以达到上限
    const MODULE_REMIANING_NUMBER_IS_ZERO = [10003, '该模块可添加主机数量已达到上限'];
    //添加的主机超过允许数量
    const ADDED_HOST_MORE_THAN_ALLOW_AUTHORIZED = [10004, '添加的主机数量超过了模块剩余授权数'];
    
}